//package com.juhuixing.es.server.business.service.impl;
//
//import com.juhuixing.common.config.service.impl.BaseEsServiceImpl;
//import com.juhuixing.es.server.business.service.BossService;
//import com.juhuixing.es.server.persistence.dao.BossRepository;
//import com.juhuixing.es.server.persistence.entity.Boss;
//import org.springframework.stereotype.Service;
//
///**
// * <p>
// *  服务实现类
// * </p>
// *
// * @author 刘猛
// * @since 2019-03-18
// */
//@Service
//public class BossServiceImpl extends BaseEsServiceImpl<BossRepository, Boss> implements BossService {
//
//    @Override
//    public Boss findById(String id){
//       return this.baseRepository.findById(id).get();
//    }
//
//    @Override
//    public String save(String id, String bossName, Integer age, String about) {
//        Boss boss = new Boss(id, bossName, age, about);
//        this.baseRepository.save(boss);
//        return id;
//    }
//}
